package com.my.kq.dao;

import com.my.kq.entity.AttendanceManagement;
import com.my.kq.uitl.BaseDAO;

import java.util.List;

public class AttendanceManagementDao extends BaseDAO {
    //    考勤管理
    public List<AttendanceManagement> serlectList() throws Exception {
        String sql = " select a.employeeNumber,e.name,a.day,a.timeType,a.startTime, " +
                " a.startType,a.endTime,a.endType " +
                " from attendance a left join employee e " +
                " on a.employeeNumber=e.employee_number; ";
        return getList(sql, new AttendanceManagement(), new Object[0]);
    }
}
